<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>

  </style>
</head>

<body>
  <!-- v-model: 给表单元素使用 ， 双向绑定数据-》可以快速获取或设置 表单元素内容-->
  <div id="app">
    账户：<input type="text" v-model="username" placeholder="账户"><br>
    密码：<input type="text" v-model="pwd" placeholder="密码">
  </div>

  <script src="../vue/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {

        username: '123',
        pwd: '',

      },
      methods: {

      }
    })
  </script>
</body>

</html>